﻿using System.Collections.Generic;
using SARS.Biz.Facades;
using SARS.DAO;
using SARS.DAO.Facades;
using SARS.Entity;

namespace SARS.Biz
{
    public class RoomBO : IRoomBO
    {
        private readonly IRoomDAO _dao = new RoomDAO();

        public List<RoomEntity> RetrieveAllRoom()
        {
            return _dao.RetrieveAllRoom();
        }

        public RoomEntity RetrieveRoomById(int roomId)
        {
            return _dao.RetrieveRoomById(roomId);
        }
    }
}